package com.woniuxy.member.client.param;

import lombok.Data;
import utils.EnumValue;

import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
public class AddReservationParam {
    //预约时间
    @NotNull
    private Date reservationTime;
    //联系人
    @NotNull
    private String linkName;
    //联系电话
    @NotNull
    private String linkPhone;
    //用餐人数
    @NotNull
    private Integer dinnerNum;
    //备注
    private String reservationRemark;
    //是否包间 0是 1否
    @NotNull
    @EnumValue(intValues = {1,2})
    private Integer compartment;
}